package pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Customer {
	private String id;
	private String name;
	private int age;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date birth;
	private double sal;
	private boolean sex;
	
	
	public Customer() {
		super();
	}
	public Customer(String id, String name, int age, Date birth, double sal,
			boolean sex) {
		super();
		this.id = id;
		this.name = name;
		this.age = age;
		this.birth = birth;
		this.sal = sal;
		this.sex = sex;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}
	public double getSal() {
		return sal;
	}
	public void setSal(double sal) {
		this.sal = sal;
	}
	public boolean isSex() {
		return sex;
	}
	public void setSex(boolean sex) {
		this.sex = sex;
	}
	
	
}
